package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppSuggestDao;
import com.vf.admin.client.service.AppSuggestService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppSuggest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AppSuggestServiceImpl.java
 * @Description TODO
 * @createTime 2021年07月23日 11:20:00
 */

@Service
public class AppSuggestServiceImpl implements AppSuggestService {

    @Autowired
    AppSuggestDao appSuggestDao;

    @Override
    public void saveOrUpdate(AppSuggest appSuggest) {
        appSuggestDao.saveOrUpdate(appSuggest);
    }

    @Override
    public List<AppSuggest> htfindList(Map<String, Object> paramap, SplitPageBean splitPageBean) {
        return appSuggestDao.htfindList(paramap, splitPageBean);
    }

    @Override
    public List<AppSuggest> list(Map<String, Object> paramap) {
        return appSuggestDao.list(paramap);
    }

    @Override
    public void delete(Integer id) {
        appSuggestDao.delete(id);
    }
}